package nameless.aistudy.domain.service.subjects.english.vocabulary;

import nameless.aistudy.domain.model.subjects.english.vocabulary.dto.WordDetailDTO;
import nameless.aistudy.domain.model.subjects.english.vocabulary.word.WordRepo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WordService {

    @Autowired
    private  WordRepo wordRepo;
    public WordDetailDTO getWordDetail(Integer wordId) {
        return wordRepo.getWordDetail(wordId);
    }
}
